<template>
  <section>
    <GroupMode v-if="customerType == 1" />
    <CustomerMode v-if="customerType == 2" />
    <OtherMode v-if="customerType == 3" />
  </section>
</template>

<script lang="ts" setup>
  import GroupMode from './group.vue'
  import CustomerMode from './customer.vue'
  import OtherMode from './other.vue'
  import { BaseUserInfo } from '~/src/utils/utils'

  defineOptions({
    name: 'CorpIndex',
  })

  /**
   * @var
   */

  //  1 集团 2普通 3零散
  const { customer_type } = BaseUserInfo()
  const customerType = ref(Number(customer_type))
</script>
<style lang="scss" scoped>
  @import './means/means.scss';
</style>
